<div id="sidebar-menu">
    <ul class="metismenu" id="side-menu">
        <li class="menu-title">Navigation</li>
        <li{{ (dispatcher.getControllerName() === 'dir' and dispatcher.getActionName() === 'index') ? ' class="active"' : '' }}>
            <a{{ (dispatcher.getControllerName() === 'dir' and dispatcher.getActionName() === 'index') ? ' class="active"' : '' }} href="/{{ siteid }}/dir/index">
                <i class="ti-menu-alt"></i></i><span> 目录管理 </span>
            </a>
        </li>
        <li{{ (dispatcher.getControllerName() === 'post' and dispatcher.getActionName() === 'index') ? ' class="active"' : '' }}>
            <a{{ (dispatcher.getControllerName() === 'post' and dispatcher.getActionName() === 'index') ? ' class="active"' : '' }} href="/{{ siteid }}/post/index">
                <i class="ti-pencil-alt"></i> <span> 内容管理 </span>
            </a>
        </li>
        <li{{ (dispatcher.getControllerName() === 'page' and dispatcher.getActionName() === 'index') ? ' class="active"' : '' }}>
            <a{{ (dispatcher.getControllerName() === 'page' and dispatcher.getActionName() === 'index') ? ' class="active"' : '' }} href="/{{ siteid }}/page/index">
                <i class="ti-files"></i> <span> 页面管理 </span>
            </a>
        </li>
        <li{{ (dispatcher.getControllerName() === 'asset' and dispatcher.getActionName() === 'index') ? ' class="active"' : '' }}>
            <a{{ (dispatcher.getControllerName() === 'asset' and dispatcher.getActionName() === 'index') ? ' class="active"' : '' }} href="/{{ siteid }}/asset/index">
                <i class="ti-widget"></i> <span> 资源管理器 </span>
            </a>
        </li>
        <li>
            <a href="/">
                <i class="ti-share"></i><span> 返回主菜单 </span>
            </a>
        </li>
    </ul>
</div>
